﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student
    {
        public string Name { get; set; }
        public int Age { get; set; }
        public int StuNum { get; set; }

        public Student(int stuNum,string name, int age)
        {
            Name = name;
            Age = age;
            StuNum = stuNum;
        }
        public override string ToString()
        {
            return $"学号{StuNum}\t姓名{Name}\t年龄{Age}";
        }
        public Student() { }
    }
}
